package nsu.edu.zsq.service.impl.teacher;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import nsu.edu.zsq.common.RequestHolder;
import nsu.edu.zsq.dao.ExamTeacherMapper;
import nsu.edu.zsq.param.ExamTeacherParam;
import nsu.edu.zsq.service.teacher.ExamService;

/** 
* Description: 教师考试安排的service实现类<br>
*/
@Service
public class ExamServiceImpl implements ExamService{
    
    @Autowired
    private ExamTeacherMapper examTeacherMapper;

    @Override
    public List<ExamTeacherParam> listExamTeacher() {
        List<ExamTeacherParam> listExamTeacher = examTeacherMapper.listExamTeacherByTeacherNo(RequestHolder.getCurrentTeacher().getTeacherNo());
        return listExamTeacher;
    }
    

}
